<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>header</title>
</head>
<body>

<!--    定义了一个碎片-->
    <div th:fragment="header1" class="bobo-header-01">
        <div class="bobo-header-02">这里是头部内容</div>
    </div>

</body>
</html>